-module(multi_guards).

-include_lib("ect/include/ect.hrl").

-import_class(pattern1).
-import_class(pattern2).


-record(rrr, {a, b, c}).

-export([dotest/0]).

dotest() ->
    A = a1(#pattern2{b = #rrr{a = 4, b = -3}}),
    A = a1(#pattern2{b = #rrr{a = -2, b = -6}}).


a1(#pattern1{b = #rrr{a = A, b = B}}) when A > 0 ; B < -5  ->
    pass.
